package com.cqie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 不吃海鲜
 * @since 2024-11-27
 */
@Data
@Builder
@TableName("patient_info")
@ApiModel(value = "PatientInfo对象", description = "")
public class PatientInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("患者信息id")
    @TableId(value = "patient_info_id", type = IdType.AUTO)
    private Integer patientInfoId;

    @ApiModelProperty("患者id")
    @TableField("patient_id")
    private Integer patientId;

    @ApiModelProperty("患者姓名")
    @TableField("patient_name")
    private String patientName;

    @ApiModelProperty("患者身份证")
    @TableField("patient_id_card")
    private String patientIdCard;

    @ApiModelProperty("患者性别代码")
    @TableField("patient_sex_code")
    private Integer patientSexCode;

    @ApiModelProperty("患者性别名称（0-隐藏 1-男 2-女）")
    @TableField("patient_sex_name")
    private String patientSexName;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("作废标志")
    @TableField("rm_sign")
    private String rmSign;
}
